package com.mes.service.yzl;

import com.mes.entity.yzl.Condition;
import com.mes.entity.yzl.Receivable;
import com.mes.entity.yzl.Reconciliation;
import com.mes.entity.yzlExtend.ExtendProductor;
import com.mes.entity.yzlExtend.ExtendReceivable;
import com.mes.entity.yzlExtend.ExtendReconciliation;

import java.util.List;

public interface JiesuanService {
    List<ExtendReconciliation> countAllOne(long customerId);

    void addReconciliation(Reconciliation reconciliation);

    List<ExtendReconciliation> reconciliationList(Condition condition);

    Reconciliation findReconciliationBytime(Reconciliation reconciliation);

    int updateReconciliationByid(ExtendReconciliation reconciliation);

    List<ExtendProductor> reconciliationXq(Reconciliation reconciliation);

    List<Receivable> countAllReceivable();

    void addReceivable(Receivable receivable);

    List<ExtendReceivable> countAllOutlibP();

    List<ExtendReceivable> receivableList(Condition condition);

    float checkIsDz(Receivable receivable);

    Receivable findReceivableBytime(Receivable receivable);

    int updateReceivable(Receivable receivable);

    int reconciliationListCount(Condition condition);

    int receivableListCount(Condition condition);
}
